package com.study.jdk.finalobject;

/**
 * Created by tan on 2017/9/8.
 */
public class Holder {
	private int num;
	private int count;

	public Holder() {
		this.num = 10;
		try {
			Thread.sleep(1000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}

		this.count  =20;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
}
